<?php
// $router->get('/', function () use ($router) {
//     return $router->app->version();
// });


$router->get('/test', ['middleware' => 'auth', function (Request $request, $id) {

    $user = Auth::user();

    $user = $request->user();

    return $user;
}]);